function open_parent_win(strCon, objOTD){
	var objWin = document.getElementById("parent_window");
	document.getElementById("ParentContent").innerHTML = strCon;
	objWin.style.top = objOTD.offsetTop + objOTD.clientHeight + 42;
	objWin.style.left = objOTD.offsetLeft + 3;
	objWin.style.display = "block";
}

function close_parent_win(){
	document.getElementById("parent_window").style.display = "none";
}

function Page(intPage){
	with(document.ListForm){
		Page.value = intPage;
		submit();
	}
}

function ChangePage(){
	with(document.ListForm){
		Page.value = document.PageJump.pageview.value;
		submit();
	}
}

function Lock(intID, intLock){
	var strTip = "";
	switch(intLock){
		case 0:
			strTip = strLockAlert1;
			break;
		case 1:
			strTip = strLockAlert2;
			break;
		case 2:
			strTip = strLockAlert3;
			break;
	}
	if(confirm(strTip)){
		with(document.LockForm){
			ID.value = intID;
			document.LockForm["data[isLock_x]"].value = intLock;
			submit();
		}
	}
}

function Edit(intID, intType){
	with(document.EditForm){
		switch(intType){
			case 0:
				op.value = "Edit";
				break;
			case 1:
				op.value = "CommParams";
				break;
			case 2:
				op.value = "ViewLog";
				break;
		}
		ID.value = intID;
		submit();
	}
}